﻿<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net" default-lazy-init="true">
	<object id="MacroToProcess" type="Macro">
    <constructor-arg name="templateId" value="1C420345-0A41-4f65-87C6-1B62E84DF560"/>
    <constructor-arg name="actionNames">
      <list element-type="string">
        <value>NVelocity</value>        
      </list>
    </constructor-arg>
  </object>

  <object id="NVelocity" type="Action.NVelocity">
    <property name="EntityList">
      <object type="Entity.NVelocityInfo">
        <!-- This Script will be run during the "Do" -->
        <property name="IncludeSafProperties" value="true"/>
        <property name="ReplaceOutputFile" value="true"/>
        <property name="TemplateFile" value="${WorkingDirectory}\HelloWorld.vm"/>
        <property name="OutputText" value="#{VelocityOutput}"/>
        <property name="OutputFile" value="${WorkingDirectory}\HelloWorld.txt"/>
        <property name="Properties">
          <object type="SafStringDictionary">
            <constructor-arg name="dictionary">
              <dictionary>
                <entry key="from" value="Fred.Flinstone@noreply.com"/>
                <entry key="subject" value="NVelocity Generated Email"/>
                <entry key="to" value="Mark.Jones@noreply.com"/>
              </dictionary>
            </constructor-arg>
          </object>
        </property>
      </object>
    </property>
  </object>
  
</objects>